﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Adaptive_Clustering
{
    public class Estimations
    {
        public Estimations() { }
        public bool FarFromBorders(int x, int xEnd, int y, int yEnd)
        {
            if (x == 0)
                return false;
            else if (y == 0)
                return false;
            else if ((xEnd - x) <= 1)
                return false;
            else if ((yEnd - y) <= 1)
                return false;

            return true;
        }
        public virtual bool IsConverged() { return false; }
    }
}
